package com.jeesite.modules.yzw.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 易政网配置
 * @author guohusong
 * @version 1.0
 * @date 2022/4/30 10:56
 */
@Configuration
public class YzwProperties {

    @Value("${yzw.url.dev}")
    private String yzwDevurl;

    @Value("${yzw.func:false}")
    private boolean yzwFunc;

    private long pwdCheckErrorTimeout;

    private int pwdCheckErrorNum;

    public YzwProperties() {
    }

    public String getYzwDevurl() {
        return yzwDevurl;
    }

    public void setYzwDevurl(String yzwDevurl) {
        this.yzwDevurl = yzwDevurl;
    }

    public long getPwdCheckErrorTimeout() {
        return pwdCheckErrorTimeout;
    }

    public void setPwdCheckErrorTimeout(long pwdCheckErrorTimeout) {
        this.pwdCheckErrorTimeout = pwdCheckErrorTimeout;
    }

    public int getPwdCheckErrorNum() {
        return pwdCheckErrorNum;
    }

    public void setPwdCheckErrorNum(int pwdCheckErrorNum) {
        this.pwdCheckErrorNum = pwdCheckErrorNum;
    }

    public boolean isYzwFunc() {
        return yzwFunc;
    }

    public void setYzwFunc(boolean yzwFunc) {
        this.yzwFunc = yzwFunc;
    }
}
